﻿namespace SharpTalk.Core.EventArgs
{
    /// <summary>
    /// 
    /// </summary>
    public sealed class SimpleMessageTruncatedEventArgs : ItemTruncatedEventArgs<SimpleMessage>
    {
        private readonly ChatRoomDetails _chatroom;

        public SimpleMessageTruncatedEventArgs(SimpleMessage item) 
            : base(item)
        {
        }

        public SimpleMessageTruncatedEventArgs(SimpleMessage message, ChatRoomDetails chatroom)
            :this(message)
        {
            _chatroom = chatroom;
        }

        public ChatRoomDetails ChatRoom { get { return _chatroom; } }
    }
}